package com.anhua.pojo;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import javax.validation.constraints.NotNull;
@Data
@AllArgsConstructor
@NoArgsConstructor
public class Teacher {
    @NotNull(message = "tid不能为空")
    private String tid;
    @NotNull(message = "tname不能为空")
    private String tname;
    @NotNull(message = "thome不能为空")
    private String thome;
}
